IContext.GetResourceString2 method

Namespace: NextDesign.Desktop

Description

Gets the string of the specified resource key. At this time, the substitutes "{0},{1}" defined in the resource string are replaced with the string representations of param1 and param2 specified by the arguments, and returned. Note that the resource parameter replacement complies with C# String.Format. For details on how to specify the resource string and specify the resource key, refer to GetResourceString().

argument

Name Type Description
key string resource key
param1 object Replacement object of resource parameter
Object to replace with the substitute "{0}" in the resource string
If null is specified, it is replaced with the string "null".
param2 object Resource parameter replacement object
The object to replace with the replacement "{1}" in the resource string
If you specify null, it is replaced with the string "null".

Return value

  • string